#ifndef HPLCTIMEPROGRAMTABLEDELEGATE_H
#define HPLCTIMEPROGRAMTABLEDELEGATE_H

#include <QItemDelegate>
#include <QModelIndex>
#include <QPixmap>
#include <QSize>

class HplcTimeProgramTableDelegate : public QItemDelegate
{
public:
    HplcTimeProgramTableDelegate(QObject *aParent = nullptr);
    ~HplcTimeProgramTableDelegate();

    virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
                                        const QModelIndex &index) const override;

    virtual void setEditorData(QWidget *editor, const QModelIndex &index) const override;

    virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override;
};

#endif // HPLCTIMEPROGRAMTABLEDELEGATE_H
